import type { Meta, StoryObj } from '@storybook/nextjs-vite'

import { ButtonProps } from './Button'
import PrimaryBtn from './Button';

const meta = {
    title: 'antd/study/PrimaryBtn',
    component: PrimaryBtn,
    tags: ['autodocs'],
    parameters: {
        layout: 'center',
    },
    args: {
        text: '',
    },
    argTypes: {
        text: {control: 'text'},
      },
} satisfies Meta<typeof PrimaryBtn>;

export default meta;
type Story = StoryObj<typeof meta>;

export const Primary: Story = {
    args: {
        text: '点击',
    }
};
